package com.qf.entity;
/*
    我的理财产品表
 */
public class MyProducts {

    // 产品ID
    private int id;
    // 产品名称
    private String name;
    // 所属用户ID
    private int uid;
    // 单价
    private double price;
    // 收益率
    private String yieid;
    // 理财类型
    private String type;
    // 拥有数量
    private int num;
    // 总价
    private double amount;


    public MyProducts() {
    }

    public MyProducts(int id, String name, int uid, double price, String yieid, String type, int num, double amount) {
        this.id = id;
        this.name = name;
        this.uid = uid;
        this.price = price;
        this.yieid = yieid;
        this.type = type;
        this.num = num;
        this.amount = amount;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getUid() {
        return uid;
    }

    public void setUid(int uid) {
        this.uid = uid;
    }

    public double getPrice() {
        return price;
    }

    public void setPrice(double price) {
        this.price = price;
    }

    public String getYieid() {
        return yieid;
    }

    public void setYieid(String yieid) {
        this.yieid = yieid;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public int getNum() {
        return num;
    }

    public void setNum(int num) {
        this.num = num;
    }

    public double getAmount() {
        return amount;
    }

    public void setAmount(double amount) {
        this.amount = amount;
    }

    @Override
    public String toString() {
        return "MyProducts{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", uid=" + uid +
                ", price=" + price +
                ", yieid='" + yieid + '\'' +
                ", type='" + type + '\'' +
                ", num=" + num +
                ", amount=" + amount +
                '}';
    }
}
